/***** @font-face *****/
/*@font-face { font-family: bebas; src: url(fonts/BebasNeue.otf);}
@font-face { font-family: ubuntu; src: url(fonts/ubuntu.ttf);}
@font-face { font-family: marketing; src: url(fonts/MarketingScript.ttf);}
@font-face { font-family: megalopolis; src: url(fonts/MEgalopolisExtra.woff);}*/

/***** general stuff *****/

body {
    font-family: ubuntu;
}

#plzwait {
    display: none;
}

body.loading #plzwait {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    padding-top: 200px;
}

body.loading #wall {
    opacity: 0;
}

h1, h2, h3, h4 {
    font-family: bebas;
}

* {
    padding: 0px;
    margin: 0px;
}

body {
    background-color: #343838;
}

html {
    box-shadow: inset 0px 0px 20px black;
}

/*#wall { width: 900px; padding: 20px; margin: auto; margin-top: 10px; box-shadow: 0px 0px 5px black;}*/

#wall > h1 {
    font-size: 90px;
    width: 500px;
    vertical-align: middle;
    font-weight: normal;
    text-align: center;
    margin: auto;
    margin-top: 30px;
    text-align: center;
    position: relative;
}

#wall > h1 > span {
    font-size: 30px;
    position: absolute;
    bottom: -2px;
    right: 48px;
    color: #999;
}

#shortcredit a {
    color: #555;
}

#shortcredit {
    opacity: 0.5;
    top: -150px;
    right: 0px;
    font-size: 10px;
    color: #777;
    position: relative;
    width: 100%;
    text-align: right;
}

#shortcredit:hover {
    opacity: 1;
}

#longcredits a {
    color: black;
}

#longcredits {
    color: #555;
}

/***** tag board *****/

#overview {
    margin: 5px;
    position: relative;
    background-color: #343838;
    box-shadow: inset 0px 0px 20px black;
    height: 320px;
    border-radius: 10px;
    margin-left: -5px;
    margin-right: -5px;
}

.tag {
    font-size: 18px;
    transition-duration: 1s;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    cursor: default;
}

.tag.big {
    font-size: 50px;
}

.tag {
    margin-top: 10px;
    margin-left: 15px;
    font-family: bebas;
    position: absolute;
    text-decoration: none;
}

.tag.c0 {
    color: #005f6b;
}

.tag.c0:hover {
    color: #00a2b7;
}

.tag.c1 {
    color: #008c9e;
}

.tag.c1:hover {
    color: #00cfea;
}

.tag.c2 {
    color: #00dffc;
}

.tag.c2:hover {
    color: #00e1ff;
}

.tag.c3 {
    color: #00b4cc;
}

.tag.c3:hover {
    color: #00e1ff;
}

/**********************/

/* Title */
#wall > h1 {
    font-size: 100px;
    line-height: 100px;
    color: #2EC4DD;
    font-weight: normal;
    border-top: 2px solid black;
    padding-top: 20px;
}

#wall :nth-of-type(2) > h1 {
    margin-top: 40px;
    border-top: none;
}

#wall > article > h1:after {
    content: "▾";
    margin-left: 25px;
    font-size: 50px;
    vertical-align: middle;
    -moz-transition-duration: 1s;
    -moz-transform: rotate(0deg);
    -webkit-transition-duration: 1s;
    -webkit-transform: rotate(0deg);
    transition-duration: 1s;
    transform: rotate(0deg);
}

#wall > article > h1 {
    font-size: 80px;
    height: 80px;
    font-weight: normal;
    background-repeat: repeat-x;
    background-position: left bottom;
    cursor: pointer;
    padding-bottom: 10px;
    -moz-transition: text-indent 0.1s;
    -webkit-transition: text-indent 0.1s;
    transition: text-indent 0.1s;
}

#wall > article > h1:hover {
    text-indent: 5px;
}

#wall > article > article > h1 {
    font-size: 32px;
    line-height: 25px;
    letter-spacing: 0px;
    vertical-align: bottom;
    font-weight: normal;
    position: absolute;
    bottom: 200px;
    color: #ffffff
}

#wall > article {
}

#wall > article {
    line-height: 0px
}

#wall > article * {
    line-height: normal
}

#wall > article > article {
    transition-duration: 1s;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    font-size: 12px;
    border-top: 0px solid #777;
    border-bottom: 1px solid #777;
    width: 225px;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: 6px;
    margin-right: 6px;
    height: 250px;
    vertical-align: middle;
    position: relative;
    padding-left: 30px;
    padding-right: 30px;
    background-color: #000000
}

#wall > article.closed > h1:after {
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

#wall > article.closed > article {
    height: 0px;
    border: none;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #000000
}

#wall > article > article {
    overflow: hidden;
}

#wall > article > article > p {
    line-height: 16px;
    margin-top: 65px;
    text-align: justify;
    position: relative;
    z-index: 41;
}

.demo {
    position: absolute;
    top: 400px;
    left: 50%;
    margin-left: -120px;
    background-color: white;
    border: 5px solid #28C2DA;
    z-index: 42;
    box-shadow: 0 0 30px black;
    -moz-transition-duration: 1s;
    -moz-transition-timing-function: cubic-bezier(0.05, 1.4, 0.25, 1);

    -webkit-transition-duration: 1s;
    -webkit-transition-timing-function: cubic-bezier(0.05, 1.4, 0.25, 1);

    transition-duration: 1s;
    transition-timing-function: cubic-bezier(0.05, 1.4, 0.25, 1);
}

article:hover > .demo {
    top: 100px;
}

article:hover > .demo.close {
    top: 400px;
}

.activexxxie .xxxie {
    opacity: 0.4;
    -moz-transform: scale(0.7);
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
}

.activexxxie #overview .xxxie {
    opacity: 1;
    -moz-transform: scale(0) !important;
    -webkit-transform: scale(0) !important;
    transform: scale(0) !important;
}

#wall > article > article > a {
    position: absolute;
    z-index: 44;
    bottom: -30px;
    left: 0;
    -moz-transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    background-color: #28C2DA;
    line-height: 20px;
    text-align: center;
    color: white;
    width: 100%;
    font-weight: bold;
    box-shadow: 0px 0px 20px black;
}

#wall > article > article:hover > a {
    bottom: 0px;
}

article > .demo > * {
    display: block;
}

#wall > article > .experimental:before {
    vertical-align: bottom;
    position: absolute;
    top: 37px;
    left: 0px;
    background-color: #343838;
    height: 23px;
    border-radius: 5px;
    opacity: 0.5;
}

/*
#wall  > article > .hasademo:after {
    vertical-align: bottom;
    content: "D";
    font-size: 20px;
    font-weight: bold;
    padding-left: 5px;
    color: white;
    position: absolute;
    top: 67px; left: 0px;
    background-color: #343838;
    height: 23px;
    border-radius: 5px;
    width: 20px;
    opacity: 0.5;
}

#wall  > article > .hasademo:not(.experimental):after {
    top: 38px;
}
*/

.demo .closebutton {
    position: absolute;
    top: -18px;
    right: -18px;
    cursor: pointer;
}

@media all and (max-width: 900px) {
    #wall {
        width: 600px;
    }

    #overview {
        display: none;
    }
}

@media all and (max-width: 600px) {
    #wall {
        width: 300px;
    }

    #wall > h1 {
        font-size: 70px;
    }
}

/* Mozilla Badge position override */
a#gobackbutton, a#gobackbutton:hover {
    top: 100px;
}